package agngui.event;

import agngui.agnmodel.AGNParameterHandle;

/**
 * defines a HandleEvent in the system
 * @author Ben Bloom
 * @author Phil Johnson
 */
public class HandleEvent extends AGNEvent {

	/**
	 * The handle being affected
	 */
	protected AGNParameterHandle handle;
	
	
	/**
	 * constructs a new handle event
	 * @param handle The handle being affected
	 */
	public HandleEvent(AGNParameterHandle handle) {
		this.handle = handle;
	}
	
	/**
	 * Gives back the handle that this event affects
	 * 
	 * @return The handle being affected
	 */
	public AGNParameterHandle getHandle() { return handle; }
}
